package com.lin.controller.controller;

import com.lin.controller.commons.NotControllerResponseAdvice;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName HealthController
 * @Description
 * @Author lin
 * @Date 2022/7/27 下午10:50
 * @Version V1.0
 */
@RestController
public class HealthController {

    @GetMapping("/health")
    @NotControllerResponseAdvice
    public String health() {
        return "success";
    }
}